package com.liuyucheng.interview.interview202108;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * LiuYuCheng
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class Dept implements Serializable {
    private Long deptId;

    private String deptCode;

    private String deptName;

    /**
     * 成员数量
     */
    private int empNo;

    /**
     * 子部门集合
     */
    private List<Dept> subDept;
}
